#多继承
#语法
#吃c 继承了a和b

class Presoun:
    def __init__(self,name,age):
        self.name=name
        self.age=age
    def call(self):
        print('叫声')


class Fn:
    def talk(self):
        print('说话')

class c1(Presoun,Fn):   #c1 继承了Presoun和Fn
    pass

#调用对象方法
p1= c1()
p1.call()
p1.talk()








